package ch6;

public class Penguin extends Pet1{
    private String power;

    public Penguin(String name, String breed, double weight, String power) {
        super(name, breed, weight);
        this.power = power;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }
    public void introduce(){
        super.introduce();
        System.out.println("我能够"+this.power);
    }
}
